﻿namespace Mp3Observer.Interfaces
{
    using System;
    using Mp3Observer.Model;

    /// <summary>
    /// contract for the statusmessage service that shows a message in the statusbar.
    /// </summary>
    public interface IStatusMessage
    {
        /// <summary>
        /// Occurs when [show message event].
        /// </summary>
        event EventHandler<MessageEventArgs> ShowMessageEvent;

        /// <summary>
        /// Shows the message.
        /// </summary>
        /// <param name="message">The message.</param>
        void ShowMessage(string message);
    }
}
